import request from '@/utils/request'

// 登录请求
export function loginAPI (data) {
  return request({
    method: 'POST',
    url: '/h5/user/login',
    data: data
  })
}

// 注册的请求
export function registerAPI (data) {
  return request({
    method: 'POST',
    url: '/h5/user/register',
    data: data
  })
}
